package com.po;

/**
 * SProduct entity. @author MyEclipse Persistence Tools
 */

public class SProduct implements java.io.Serializable {

	// Fields

	private Integer PId;
	private Integer categoryId;
	private String productName;
	private String description;
	private Double fixedPrice;
	private Double shoppingPrice;
	private String keywords;
	private Integer number;
	private String titlePic;

	// Constructors

	/** default constructor */
	public SProduct() {
	}

	/** minimal constructor */
	public SProduct(Integer categoryId, String productName, Double fixedPrice,
			Double shoppingPrice, Integer number) {
		this.categoryId = categoryId;
		this.productName = productName;
		this.fixedPrice = fixedPrice;
		this.shoppingPrice = shoppingPrice;
		this.number = number;
	}

	/** full constructor */
	public SProduct(Integer categoryId, String productName, String description,
			Double fixedPrice, Double shoppingPrice, String keywords,
			Integer number, String titlePic) {
		this.categoryId = categoryId;
		this.productName = productName;
		this.description = description;
		this.fixedPrice = fixedPrice;
		this.shoppingPrice = shoppingPrice;
		this.keywords = keywords;
		this.number = number;
		this.titlePic = titlePic;
	}

	// Property accessors

	public Integer getPId() {
		return this.PId;
	}

	public void setPId(Integer PId) {
		this.PId = PId;
	}

	public Integer getCategoryId() {
		return this.categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public String getProductName() {
		return this.productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Double getFixedPrice() {
		return this.fixedPrice;
	}

	public void setFixedPrice(Double fixedPrice) {
		this.fixedPrice = fixedPrice;
	}

	public Double getShoppingPrice() {
		return this.shoppingPrice;
	}

	public void setShoppingPrice(Double shoppingPrice) {
		this.shoppingPrice = shoppingPrice;
	}

	public String getKeywords() {
		return this.keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public Integer getNumber() {
		return this.number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getTitlePic() {
		return this.titlePic;
	}

	public void setTitlePic(String titlePic) {
		this.titlePic = titlePic;
	}

}